﻿using MvcContrib.PortableAreas;
using Tamias.BasicCmsPortableArea.Messages;
using Tamias.DefaultImplementation.Data;

namespace Tamias.DefaultImplementation.MessageHandlers
{
    public class SaveContentGroupMessageHandler : MessageHandler<SaveContentGroupMessage>
    {
        public override void Handle(SaveContentGroupMessage message)
        {
            var data = new ContentGroupData();
            data.Save(message.Group);
        }
    }
}
